package com.hmys.api.mapper;

import com.hmys.api.model.WebHousePhoto;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface WebHousePhotoMapper {
    int deleteByPrimaryKey(Long id);

    int insert(WebHousePhoto record);

    int insertSelective(WebHousePhoto record);

    WebHousePhoto selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(WebHousePhoto record);

    int updateByPrimaryKey(WebHousePhoto record);

    List<String> selectPhotoByHouseId(Long houseId);
}